package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 分入分出险种标的表
 * </p>
 *
 * @author Generator
 * @since 2025-03-19
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_reinsurance_risk_insured")
@ApiModel(value = "CgnciReinsuranceRiskInsuredDO对象", description = "分入分出险种标的表")
public class CgnciReinsuranceRiskInsuredDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("分入分出险种标的ID")
    @TableId(value = "risk_insured_id", type = IdType.ASSIGN_ID)
    private Long riskInsuredId;

    @ApiModelProperty("分入分出险种ID")
    private Long reinsuranceRiskId;

    @ApiModelProperty("唯一键")
    private String rowKey;

    @ApiModelProperty("保险标的名称")
    private String insuredObject;

    @ApiModelProperty("保险标的类型(1-在案;2-离案),码表值:onshoreOffshore")
    private String insuredType;

    @ApiModelProperty("离岸业务归属地")
    private String offshoreTerritory;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;


}
